Optimal. Leaf size=112 \[ \frac{16 c^2 \log \left (a+b x+c x^2\right )}{d \left (b^2-4 a c\right )^3}-\frac{32 c^2 \log (b+2 c x)}{d \left (b^2-4 a c\right )^3}+\frac{4 c}{d \left (b^2-4 a c\right )^2 \left (a+b x+c x^2\right )}-\frac{1}{2 d \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.163469, antiderivative size = 112, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167 \[ \frac{16 c^2 \log \left (a+b x+c x^2\right )}{d \left (b^2-4 a c\right )^3}-\frac{32 c^2 \log (b+2 c x)}{d \left (b^2-4 a c\right )^3}+\frac{4 c}{d \left (b^2-4 a c\right )^2 \left (a+b x+c x^2\right )}-\frac{1}{2 d \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^2} \]
Antiderivative was successfully verified.
[In] Int[1/((b*d + 2*c*d*x)*(a + b*x + c*x^2)^3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 56.0566, size = 104, normalized size = 0.93 \[ - \frac{32 c^{2} \log{\left (b + 2 c x \right )}}{d \left (- 4 a c + b^{2}\right )^{3}} + \frac{16 c^{2} \log{\left (a + b x + c x^{2} \right )}}{d \left (- 4 a c + b^{2}\right )^{3}} + \frac{4 c}{d \left (- 4 a c + b^{2}\right )^{2} \left (a + b x + c x^{2}\right )} - \frac{1}{2 d \left (- 4 a c + b^{2}\right ) \left (a + b x + c x^{2}\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(2*c*d*x+b*d)/(c*x**2+b*x+a)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.141878, size = 90, normalized size = 0.8 \[ \frac{\frac{8 c \left (b^2-4 a c\right )}{a+x (b+c x)}-\frac{\left (b^2-4 a c\right )^2}{(a+x (b+c x))^2}+32 c^2 \log (a+x (b+c x))-64 c^2 \log (b+2 c x)}{2 d \left (b^2-4 a c\right )^3} \]
Antiderivative was successfully verified.
[In] Integrate[1/((b*d + 2*c*d*x)*(a + b*x + c*x^2)^3),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.023, size = 304, normalized size = 2.7 \[ 32\,{\frac{{c}^{2}\ln \left ( 2\,cx+b \right ) }{d \left ( 4\,ac-{b}^{2} \right ) ^{3}}}+16\,{\frac{a{x}^{2}{c}^{3}}{d \left ( 4\,ac-{b}^{2} \right ) ^{3} \left ( c{x}^{2}+bx+a \right ) ^{2}}}-4\,{\frac{{b}^{2}{x}^{2}{c}^{2}}{d \left ( 4\,ac-{b}^{2} \right ) ^{3} \left ( c{x}^{2}+bx+a \right ) ^{2}}}+16\,{\frac{abx{c}^{2}}{d \left ( 4\,ac-{b}^{2} \right ) ^{3} \left ( c{x}^{2}+bx+a \right ) ^{2}}}-4\,{\frac{{b}^{3}cx}{d \left ( 4\,ac-{b}^{2} \right ) ^{3} \left ( c{x}^{2}+bx+a \right ) ^{2}}}+24\,{\frac{{a}^{2}{c}^{2}}{d \left ( 4\,ac-{b}^{2} \right ) ^{3} \left ( c{x}^{2}+bx+a \right ) ^{2}}}-8\,{\frac{ac{b}^{2}}{d \left ( 4\,ac-{b}^{2} \right ) ^{3} \left ( c{x}^{2}+bx+a \right ) ^{2}}}+{\frac{{b}^{4}}{2\,d \left ( 4\,ac-{b}^{2} \right ) ^{3} \left ( c{x}^{2}+bx+a \right ) ^{2}}}-16\,{\frac{{c}^{2}\ln \left ( c{x}^{2}+bx+a \right ) }{d \left ( 4\,ac-{b}^{2} \right ) ^{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(2*c*d*x+b*d)/(c*x^2+b*x+a)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.692352, size = 359, normalized size = 3.21 \[ \frac{16 \, c^{2} \log \left (c x^{2} + b x + a\right )}{{\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d} - \frac{32 \, c^{2} \log \left (2 \, c x + b\right )}{{\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d} + \frac{8 \, c^{2} x^{2} + 8 \, b c x - b^{2} + 12 \, a c}{2 \,{\left ({\left (b^{4} c^{2} - 8 \, a b^{2} c^{3} + 16 \, a^{2} c^{4}\right )} d x^{4} + 2 \,{\left (b^{5} c - 8 \, a b^{3} c^{2} + 16 \, a^{2} b c^{3}\right )} d x^{3} +{\left (b^{6} - 6 \, a b^{4} c + 32 \, a^{3} c^{3}\right )} d x^{2} + 2 \,{\left (a b^{5} - 8 \, a^{2} b^{3} c + 16 \, a^{3} b c^{2}\right )} d x +{\left (a^{2} b^{4} - 8 \, a^{3} b^{2} c + 16 \, a^{4} c^{2}\right )} d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((2*c*d*x + b*d)*(c*x^2 + b*x + a)^3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.215736, size = 521, normalized size = 4.65 \[ -\frac{b^{4} - 16 \, a b^{2} c + 48 \, a^{2} c^{2} - 8 \,{\left (b^{2} c^{2} - 4 \, a c^{3}\right )} x^{2} - 8 \,{\left (b^{3} c - 4 \, a b c^{2}\right )} x - 32 \,{\left (c^{4} x^{4} + 2 \, b c^{3} x^{3} + 2 \, a b c^{2} x + a^{2} c^{2} +{\left (b^{2} c^{2} + 2 \, a c^{3}\right )} x^{2}\right )} \log \left (c x^{2} + b x + a\right ) + 64 \,{\left (c^{4} x^{4} + 2 \, b c^{3} x^{3} + 2 \, a b c^{2} x + a^{2} c^{2} +{\left (b^{2} c^{2} + 2 \, a c^{3}\right )} x^{2}\right )} \log \left (2 \, c x + b\right )}{2 \,{\left ({\left (b^{6} c^{2} - 12 \, a b^{4} c^{3} + 48 \, a^{2} b^{2} c^{4} - 64 \, a^{3} c^{5}\right )} d x^{4} + 2 \,{\left (b^{7} c - 12 \, a b^{5} c^{2} + 48 \, a^{2} b^{3} c^{3} - 64 \, a^{3} b c^{4}\right )} d x^{3} +{\left (b^{8} - 10 \, a b^{6} c + 24 \, a^{2} b^{4} c^{2} + 32 \, a^{3} b^{2} c^{3} - 128 \, a^{4} c^{4}\right )} d x^{2} + 2 \,{\left (a b^{7} - 12 \, a^{2} b^{5} c + 48 \, a^{3} b^{3} c^{2} - 64 \, a^{4} b c^{3}\right )} d x +{\left (a^{2} b^{6} - 12 \, a^{3} b^{4} c + 48 \, a^{4} b^{2} c^{2} - 64 \, a^{5} c^{3}\right )} d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((2*c*d*x + b*d)*(c*x^2 + b*x + a)^3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 16.5659, size = 246, normalized size = 2.2 \[ \frac{32 c^{2} \log{\left (\frac{b}{2 c} + x \right )}}{d \left (4 a c - b^{2}\right )^{3}} - \frac{16 c^{2} \log{\left (\frac{a}{c} + \frac{b x}{c} + x^{2} \right )}}{d \left (4 a c - b^{2}\right )^{3}} + \frac{12 a c - b^{2} + 8 b c x + 8 c^{2} x^{2}}{32 a^{4} c^{2} d - 16 a^{3} b^{2} c d + 2 a^{2} b^{4} d + x^{4} \left (32 a^{2} c^{4} d - 16 a b^{2} c^{3} d + 2 b^{4} c^{2} d\right ) + x^{3} \left (64 a^{2} b c^{3} d - 32 a b^{3} c^{2} d + 4 b^{5} c d\right ) + x^{2} \left (64 a^{3} c^{3} d - 12 a b^{4} c d + 2 b^{6} d\right ) + x \left (64 a^{3} b c^{2} d - 32 a^{2} b^{3} c d + 4 a b^{5} d\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(2*c*d*x+b*d)/(c*x**2+b*x+a)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.220985, size = 254, normalized size = 2.27 \[ -\frac{32 \, c^{3}{\rm ln}\left ({\left | 2 \, c x + b \right |}\right )}{b^{6} c d - 12 \, a b^{4} c^{2} d + 48 \, a^{2} b^{2} c^{3} d - 64 \, a^{3} c^{4} d} + \frac{16 \, c^{2}{\rm ln}\left (c x^{2} + b x + a\right )}{b^{6} d - 12 \, a b^{4} c d + 48 \, a^{2} b^{2} c^{2} d - 64 \, a^{3} c^{3} d} - \frac{b^{4} - 16 \, a b^{2} c + 48 \, a^{2} c^{2} - 8 \,{\left (b^{2} c^{2} - 4 \, a c^{3}\right )} x^{2} - 8 \,{\left (b^{3} c - 4 \, a b c^{2}\right )} x}{2 \,{\left (c x^{2} + b x + a\right )}^{2}{\left (b^{2} - 4 \, a c\right )}^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((2*c*d*x + b*d)*(c*x^2 + b*x + a)^3),x, algorithm="giac")
[Out]